package com.ulife.order.api.response;

import com.ulife.common.gateway.utils.annotation.Description;

import java.io.Serializable;

/**
 * Created by Ulife- on 2016/1/8.
 */
@Description("请求参数基类")
public class PayRequest implements Serializable {
    @Description("应用系统编号")
    public String merchantId; //应用系统编号--2001
    @Description("支付渠道编号")
    public String channelNo;  //支付渠道编号--页面获取
    @Description("订单号")
    public String orderId; //订单号--页面获取
    @Description("订单金额")
    public double amount; // 订单金额（精度：小数点后2位）--页面获取
    @Description("请求流水号")
    public String serialNumber; // 请求流水号
    @Description("回调的页面")
    public String returnUrl;//支付成功后平台回调的页面--成功后跳转的页面
    @Description("请求签名")
    public String signature;//请求签名--UUID生成
    @Description("后台通知结果的url")
    public String callBackUrl;//支付成功后平台后台通知结果的url--提示是否支付成功
    @Description("订单描述")
    public String description;//订单描述
    @Description("客户端IP")
    public String clientIP;//客户端IP
    @Description("商品名称")
    public String name;//商品名称
    @Description("卡类型")
    public String cardType;  // 卡类型 1 , 借记卡 2 ,贷记卡（可为空，默认为1）
    @Description("请求支付链路类型")
    public String payRequestType; // 请求支付链路类型  1 , PC端  2,WAP端（可为空，默认为1）
    @Description("支付请求错误页面")
    public String errorPage; // 支付请求错误页面 （建议填写，如果没有可以开发一个报错的静态页，做报错展示用）
    @Description("商品详情url")
    public String orderDetailUrl;  //
    @Description("交易类型")
    public String tradeType; // 交易类型  native
    @Description("mac")
    public String clientMac;
    @Description("订单类型： 1销售  2充值   这里全用2")
    public int OrderType;
    @Description("用户手机号")
    public String MobileNo;
    @Description("微信openId")
    public String Openid;
    @Description("Platform")
    public String Platform;

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getCallBackUrl() {
        return callBackUrl;
    }

    public void setCallBackUrl(String callBackUrl) {
        this.callBackUrl = callBackUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getClientIP() {
        return clientIP;
    }

    public void setClientIP(String clientIP) {
        this.clientIP = clientIP;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getPayRequestType() {
        return payRequestType;
    }

    public void setPayRequestType(String payRequestType) {
        this.payRequestType = payRequestType;
    }

    public String getErrorPage() {
        return errorPage;
    }

    public void setErrorPage(String errorPage) {
        this.errorPage = errorPage;
    }

    public String getOrderDetailUrl() {
        return orderDetailUrl;
    }

    public void setOrderDetailUrl(String orderDetailUrl) {
        this.orderDetailUrl = orderDetailUrl;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getClientMac() {
        return clientMac;
    }

    public void setClientMac(String clientMac) {
        this.clientMac = clientMac;
    }


    public int getOrderType() {
        return OrderType;
    }

    public void setOrderType(int orderType) {
        OrderType = orderType;
    }


    public String getMobileNo() {
        return MobileNo;
    }

    public void setMobileNo(String mobileNo) {
        MobileNo = mobileNo;
    }

    public String getOpenid() {
        return Openid;
    }

    public void setOpenid(String openid) {
        Openid = openid;
    }


    public String getPlatform() {
        return Platform;
    }

    public void setPlatform(String platform) {
        Platform = platform;
    }
}
